package com.fh.service.impl;

import com.fh.mapper.StatusUpdateMapper;
import com.fh.model.Orders;
import com.fh.service.StatusUpdateService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class StatusUpdateServiceImpl implements StatusUpdateService {
    @Resource
    private StatusUpdateMapper statusUpdateMapper;


    @Override
    public int update( Orders orders) {
        int i = statusUpdateMapper.updateByPrimaryKeySelective(orders);
        return i;
    }
}
